libxl: Streamline vnc argument generation code
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Mon, 11 Mar 2013 13:57:47 +0000 (13:57 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 25 Mar 2013 12:58:20 +0000 (12:58 +0000)
commitf325cdf4118a3209d4c193b9490bd5bc8f2150fb
tree7c88c20185b3103313bf0aeba10ed079a9f12f3c
parent6cffb2b469a55032a2900ccb8776c0082f346758
libxl: Streamline vnc argument generation code

Makes the following changes to the vnc generation code:
* Simplifies and comments it, making it easier to read and grok
* Throws an error if duplicate values of display are set, rather
  than the current very un-intuitive behavior.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dm.c